package com.wyl.showtype.basic.geo;

import com.wyl.showtype.ShowType;
import com.wyl.showtype.basic.geo.geojson.GeoFeature;
import com.wyl.showtype.basic.geo.geojson.GeoJson;
import com.wyl.showtype.basic.geo.geojson.GeoTypeEnum;

import java.util.List;

/**
 * 地理坐标点
 * @author 吴宇亮 on 2023/4/21 9:49
 */
public class GeoFeatureCollectionVo extends GeoJson implements ShowType {

    private GeoTypeEnum type = GeoTypeEnum.FeatureCollection;

    private List<GeoFeature> features;

    @Override
    public GeoTypeEnum getType() {
        return type;
    }

    public List<GeoFeature> getFeatures() {
        return features;
    }

    public GeoFeatureCollectionVo setFeatures(List<GeoFeature> features) {
        this.features = features;
        return this;
    }
}
